package com.lxk.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

public class VipRule implements Serializable {
    private Integer vipRuleId;

    private BigDecimal vipRulePrice;

    private Integer vipRuleTimespan;

    private BigDecimal vipRuleDiscount;

    private static final long serialVersionUID = 1L;

    public Integer getVipRuleId() {
        return vipRuleId;
    }

    public void setVipRuleId(Integer vipRuleId) {
        this.vipRuleId = vipRuleId;
    }

    public BigDecimal getVipRulePrice() {
        return vipRulePrice;
    }

    public void setVipRulePrice(BigDecimal vipRulePrice) {
        this.vipRulePrice = vipRulePrice;
    }

    public Integer getVipRuleTimespan() {
        return vipRuleTimespan;
    }

    public void setVipRuleTimespan(Integer vipRuleTimespan) {
        this.vipRuleTimespan = vipRuleTimespan;
    }

    public BigDecimal getVipRuleDiscount() {
        return vipRuleDiscount;
    }

    public void setVipRuleDiscount(BigDecimal vipRuleDiscount) {
        this.vipRuleDiscount = vipRuleDiscount;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", vipRuleId=").append(vipRuleId);
        sb.append(", vipRulePrice=").append(vipRulePrice);
        sb.append(", vipRuleTimespan=").append(vipRuleTimespan);
        sb.append(", vipRuleDiscount=").append(vipRuleDiscount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}